package com.kangkang.reflection.objectEx;

/**
 * 描述:
 * 日期: 2022-03-18 <br>
 *
 * @author: 旺旺老师<br>
 * @version: 1.0<br>
 */
public class Employee {
    private String tel;
    private int age;
    private String address;

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        System.out.println("setTel 被调用了");
        this.tel = tel;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "tel='" + tel + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }
}
